package o;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.text.SpannableString;
import o.bsy.a;
import o.bsy.e;

public class bub extends bty {
    private String ˋ;
    private String ˏ;

    public bub(int i, int i2) {
        super(i, i2);
    }

    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    public int hashCode() {
        return super.hashCode();
    }

    public String ॱ() {
        return this.ˋ;
    }

    public void ˏ(String str) {
        this.ˋ = str;
    }

    public String ˏ() {
        return this.ˏ;
    }

    public void ˊ(String str) {
        this.ˏ = str;
    }

    public SpannableString ॱ(Context context, String str) {
        String ॱ = ॱ();
        if ("0".equals(ॱ)) {
            String ॱ2 = bty.ॱ(str);
            if (ॱ2 != null) {
                if (ॱ2.isEmpty()) {
                    return new SpannableString("");
                }
                SpannableString spannableString = new SpannableString(" * " + ॱ2);
                Drawable drawable = bqy.ˋ().ˏ().getResources().getDrawable(a.ˊ);
                int dimensionPixelSize = bqy.ˋ().ˏ().getResources().getDimensionPixelSize(e.ʽॱ);
                drawable.setBounds(0, 0, dimensionPixelSize, dimensionPixelSize);
                spannableString.setSpan(new btv(drawable), 1, 2, 17);
                spannableString.setSpan(new btq(context, ˏ(), ॱ), 0, spannableString.length(), 33);
                return spannableString;
            }
        }
        return null;
    }
}
